.bx-top-nav-container {
	position: relative;
	padding: 0 10px;
	border-radius: 2px;
	background: var(--theme-color-primary);
	color: #fff;
}

/*region 1 lvl*/
.bx-nav-list-1-lvl {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.bx-nav-1-lvl { position: relative; }

.bx-nav-1-lvl-link {
	display: block;
	padding-top: 6px;
	padding-bottom: 2px;
	border-bottom: none;
	border-radius: 1px;
	text-decoration: none;
	transition: 250ms linear all;
}

.bx-nav-1-lvl-link:hover { text-decoration: none; }

.bx-nav-1-lvl.bx-hover > .bx-nav-1-lvl-link,
.bx-nav-1-lvl.bx-active > .bx-nav-1-lvl-link,
.bx-nav-1-lvl:hover > .bx-nav-1-lvl-link {
	border-bottom: none;
	background: var(--theme-color-second);
}

.bx-nav-1-lvl-link-text {
	display: flex;
	padding: 10px 14px 14px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font: 14px var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
	font-weight: var(--ui-font-weight-semi-bold, 600);
	transition: 250ms linear all;
	align-items: center;
}

.bx-nav-angle-bottom {
	position: relative;
	display: block;
	margin-left: 10px;
	width: 10px;
	height: 10px;
}

.bx-nav-angle-bottom:after,
.bx-nav-angle-bottom:before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 2px;
	background-color: #fff;
	content: '';
	transition: 250ms linear all;
}

.bx-nav-angle-bottom:after {
	margin-left: -2px;
	transform: translate(-50%, -50%) rotate(45deg);
}

.bx-nav-angle-bottom:before {
	margin-left: 2px;
	transform: translate(-50%, -50%) rotate(-45deg);
}

.bx-nav-1-lvl.bx-nav-parent:hover .bx-nav-angle-bottom:after,
.bx-nav-1-lvl.bx-nav-parent:hover .bx-nav-angle-bottom:before { background-color: var(--theme-color-primary); }

.bx-nav-1-lvl.bx-nav-parent.bx-hover > .bx-nav-1-lvl-link .bx-nav-1-lvl-link-text,
.bx-nav-1-lvl.bx-nav-parent:hover > .bx-nav-1-lvl-link .bx-nav-1-lvl-link-text {
	background-color: transparent;
	color: var(--theme-color-primary);
}

.bx-nav-1-lvl.bx-nav-parent.hover > .bx-nav-1-lvl-link,
.bx-nav-1-lvl.bx-nav-parent.bx-hover > .bx-nav-1-lvl-link {
	z-index: 250;
	box-shadow: 0 6px 13px 0 rgba(0, 0, 0, .13)
}

.bx-nav-1-lvl.bx-nav-parent.bx-hover > .bx-nav-1-lvl-link .bx-nav-1-lvl-link-text,
.bx-nav-1-lvl.bx-nav-parent.hover > .bx-nav-1-lvl-link .bx-nav-1-lvl-link-text { background: #fff; }

/**/


.bx-nav-angle-top {
	position: relative;
	display: block;
	margin-left: 10px;
	width: 10px;
	height: 10px;
}

.bx-nav-angle-top:after,
.bx-nav-angle-top:before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 2px;
	background-color: #fff;
	content: '';
	transition: 250ms linear all;
}

.bx-nav-angle-top:after {
	margin-left: -2px;
	transform: translate(-50%, -50%) rotate(-45deg);
}

.bx-nav-angle-top:before {
	margin-left: 2px;
	transform: translate(-50%, -50%) rotate(45deg);
}


/**/
.bx-nav-parent-arrow { display: none; }

/*endregion*/

/*region 2 lvl*/
.bx-nav-2-lvl-container,
.bx-nav-2-lvl-container-advanced {
	z-index: 999;
	display: none;
	padding: 0;
	min-width: 100%;
	border-top: none;
	box-shadow: 0 6px 13px 0 rgba(0, 0, 0, .13);
	color: #000;
	opacity: 0;
}

.bx-nav-2-lvl-container > ul,
.bx-nav-2-lvl-container > div,
.bx-nav-2-lvl-container-advanced > ul,
.bx-nav-2-lvl-container-advanced > div { flex: 1 }

.bx-nav-1-lvl.bx-hover .bx-nav-2-lvl-container-advanced,
.bx-nav-1-lvl.hover .bx-nav-2-lvl-container-advanced,
.bx-nav-1-lvl.bx-hover .bx-nav-2-lvl-container,
.bx-nav-1-lvl.hover .bx-nav-2-lvl-container {
	position: absolute;
	top: calc(100% - 5px);
	z-index: 999;
	display: flex;
	background: #fff;
	opacity: 1;
	align-items: stretch;
}

.bx-nav-list-2-lvl {
	margin: 0;
	padding: 5px 0 12px;
}

.bx-nav-2-lvl {
	display: block;
	padding: 0;
	min-width: 180px;
}

.bx-nav-2-lvl-link {
	display: block;
	padding: 5px 15px 5px;
	border-bottom: none !important;
	text-decoration: none !important;
}

.bx-nav-2-lvl-link-text {
	color: var(--theme-color-primary);
	text-decoration: none;
	font-weight: var(--ui-font-weight-bold);
	font-size: 13px;
	line-height: 16px;
}

/*.bx-nav-list-2-lvl .bx-nav-2-lvl:first-child a {
	margin-top: 0;
	border-top: none;
}*/

.bx-nav-2-lvl > .bx-nav-list-2-lvl.bx-active .bx-nav-list-2-lvl-text,
.bx-nav-2-lvl > .bx-nav-list-2-lvl:hover .bx-nav-list-2-lvl-text {
	background: var(--theme-color-light);
	color: var(--theme-color-primary);
}

/*endregion*/

/*region 3 lvl*/

.bx-nav-3-lvl-container-advanced:before,
.bx-nav-3-lvl-container:before {
	position: absolute;
	top: -5px;
	right: 0;
	left: 0;
	display: block;
	height: 5px;
	background: #fff;
	content: " ";
}

.bx-nav-list-3-lvl {
	margin: 0;
	padding: 0 0 14px 0;
}

.bx-nav-3-lvl {
	display: block;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	min-width: 180px;
}

.bx-nav-3-lvl-link {
	display: block;
	padding: 3px 15px 3px 20px;
	border-bottom: none;
	color: #555;
	text-decoration: none;
	font-size: 13px;
	line-height: 14px;
}

.bx-nav-3-lvl-link.bx-active,
.bx-nav-3-lvl-link:hover {
	background: #f0f0f0;
	color: var(--theme-color-primary);
	text-decoration: none;
}

/*endregion*/

/*region col 4 */
.bx-nav-list-4-col { position: static; }

.bx-nav-list-4-col .bx-nav-2-lvl-container-advanced {
	top: 100%;
	right: 0;
	left: 0;
}

.bx-nav-list-4-col .bx-nav-2-lvl-container,
.bx-nav-list-4-col .bx-nav-2-lvl-container-advanced {
	right: 0;
	left: 0;
}

/*endregion*/

/*region catinfo*/
.bx-nav-catinfo {
	position: relative;
	z-index: 120;
	padding: 15px 15px 5px;
	min-width: 200px;
	border-left: 1px solid #ecefef;
	background: #f7fafb;
}

.bx-nav-catinfo img {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border: 1px solid #e7e9ea;
}

.bx-nav-catinfo p {
	padding: 20px 5px 0;
	font-size: 13px;
}

/*endregion*/

/*region ASIDE */
.bx-menu-button-mobile {
	position: absolute;
	top: 8px;
	left: 5px;
	z-index: 10;
	width: 40px;
	height: 40px;
}

.bx-aside-nav-control {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1750;
	width: 40px;
	height: 40px;
	color: #fff;
	text-align: center;
	font-size: 28px;
	line-height: 40px;
	cursor: pointer;
	transition: left .15s linear;
}


.bx-nav-bars {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2100;
	display: block;
	box-sizing: border-box;
	width: 30px;
	height: 25px;
	border-top: 5px solid #fff;
	border-bottom: 5px solid #fff;
	vertical-align: middle;
	transform: translate(-50%, -50%);
}

.bx-nav-bars:after {
	position: absolute;
	top: 50%;
	display: block;
	background: #fff;
	width: 100%;
	height: 5px;
	content: '';
	transform: translateY(-50%);
}

.bx-wrapper,
.bx-aside-nav { transition: transform .15s linear; }

/**/
.bx-opened .bx-footer,
.bx-opened .workarea { overflow: hidden; }

/**/
.bx-aside-nav {
	position: fixed;
	top: 50px;
	bottom: 0;
	left: 0;
	z-index: 1600;
	display: none;
	width: 100%;
	background: #4c5c65;
	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	-o-transform: translateX(-100%);
	transform: translateX(-100%);
}

.bx-aside-nav.bx-opened {
	overflow-y: scroll;
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
}

.bx-aside-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bx-aside-nav a {
	display: block;
	overflow: hidden;
	padding-left: 15px;
	max-width: 100%;
	height: 48px;
	border-bottom: 1px solid #3d4b53 !important;
	color: #fff;
	vertical-align: middle;
	-ms-text-overflow: ellipsis;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 16px;
	line-height: 48px;
}

.bx-aside-nav .bx-nav-list-1-lvl {
	z-index: 1700;
	flex-direction: column;
}

.bx-aside-nav .bx-nav-1-lvl-link {
	padding: 0;
	display: flex;
	align-items: center;
}

.bx-aside-nav .bx-nav-1-lvl-link-text {
	padding: 0 0 0 15px;
}

.bx-aside-nav .bx-nav-1-lvl.bx-nav-parent.hover > .bx-nav-1-lvl-link,
.bx-aside-nav .bx-nav-1-lvl.bx-nav-parent.bx-hover > .bx-nav-1-lvl-link { box-shadow: none !important; }

.bx-aside-nav .bx-nav-1-lvl.bx-nav-parent.bx-hover > .bx-nav-1-lvl-link .bx-nav-1-lvl-link-text,
.bx-aside-nav .bx-nav-1-lvl.bx-nav-parent:hover > .bx-nav-1-lvl-link .bx-nav-1-lvl-link-text {
	background: transparent;
	color: #fff;
}

.bx-aside-nav .bx-nav-1-lvl.bx-hover .bx-nav-2-lvl-container-advanced,
.bx-aside-nav .bx-nav-1-lvl.hover .bx-nav-2-lvl-container-advanced,
.bx-aside-nav .bx-nav-1-lvl.bx-hover .bx-nav-2-lvl-container,
.bx-aside-nav .bx-nav-1-lvl.hover .bx-nav-2-lvl-container {
	position: relative;
	box-shadow: none;
	top: auto;
}

.bx-aside-nav .bx-nav-1-lvl.bx-opened .bx-nav-2-lvl-container-advanced,
.bx-aside-nav .bx-nav-1-lvl.bx-opened .bx-nav-2-lvl-container {
	display: block;
	opacity: 1;
}

.bx-nav-1-lvl.bx-opened,
.bx-aside-nav .bx-nav-1-lvl:hover > a,
.bx-aside-nav .bx-nav-1-lvl.bx-hover > a { background: #44535c; }

.bx-aside-nav .bx-nav-2-lvl-link-text,
.bx-aside-nav .bx-nav-3-lvl-link-text,
.bx-aside-nav .bx-nav-4-lvl-link-text {
	color: #fff;
	font-weight: 500;
	font-size: 14px;
}

.bx-aside-nav .bx-nav-list-2-lvl { background: #44535c; }

.bx-aside-nav .bx-nav-2-lvl-link { padding: 0 0 0 30px; }

.bx-aside-nav .bx-nav-2-lvl-link:hover { background-color: #3b4851; }

.bx-aside-nav .bx-nav-3-lvl-link { padding: 0 0 0 45px; }

.bx-aside-nav .bx-nav-3-lvl-link:hover { background-color: #3b4851; }

.bx-aside-nav .bx-nav-4-lvl-link { padding: 0 0 0 60px; }

.bx-aside-nav .bx-nav-4-lvl-link:hover { background-color: #3b4851; }

.bx-aside-nav .bx-nav-parent { position: relative; }

.bx-aside-nav .bx-nav-parent-arrow {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 200;
	margin-top: 6px;
	width: 46px;
	height: 34px;
	border-left: 1px solid #5a6971;
	text-align: center;
}

.bx-aside-nav .bx-nav-parent.bx-opened .bx-nav-parent-arrow i { transition: all .15s linear; }

.bx-aside-nav .bx-nav-parent .bx-nav-2-lvl-container-advanced,
.bx-aside-nav .bx-nav-parent .bx-nav-2-lvl-container,
.bx-aside-nav .bx-nav-parent > ul {
	overflow: hidden;
	height: 0;
}

.bx-aside-nav .bx-nav-parent.bx-opened .bx-nav-2-lvl-container-advanced,
.bx-aside-nav .bx-nav-parent.bx-opened .bx-nav-2-lvl-container,
.bx-aside-nav .bx-nav-parent.bx-opened > ul { height: auto; }

.bx-aside-nav .bx-nav-catinfo { display: none; }


.bx-aside-nav .bx-nav-angle-top,
.bx-aside-nav .bx-nav-angle-bottom {
	position: absolute;
	transform: translate(-50%, -50%);
	left: 50%;
	top: 50%;
	margin: 0;
}

@media (min-width: 1200px) {
	.bx-nav-1-lvl > a { font-size: 15px; }

	.bx-nav-1-lvl > a span { padding: 12px 14px 15px }
}

@media (min-width: 992px) and (max-width: 1199px) {
	.bx-nav-1-lvl > a { font-size: 13px; }

	.bx-nav-1-lvl > a span { padding: 9px 11px 12px }
}

@media (min-width: 768px) and (max-width: 991px) {
	.bx-nav-1-lvl > a { font-size: 11px; }

	.bx-nav-1-lvl > a span { padding: 5px 6px 9px }
}

@media (min-width: 768px) {
	.bx-aside-nav-control,
	.bx-aside-nav { display: none; }

	.bx-top-nav-container { display: block; }
}

@media (max-width: 767px) {
	.bx-aside-nav-control {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.bx-aside-nav { display: block; }

	.bx-top-nav-container { display: none; }

	.bx-aside-nav .bx-nav-parent-arrow { display: block; }

	.bx-aside-nav .bx-nav-1-lvl-link-text .bx-nav-angle-bottom{ display: none; }
}

.bx-white {
	--theme-color-primary: #f5f5f5;
	--theme-color-second: #dfdfdf;
}

.bx-white .bx-nav-1-lvl-link-text,
.bx-white .bx-nav-2-lvl-link-text,
.bx-white .bx-nav-3-lvl-link.bx-active,
.bx-white .bx-nav-3-lvl-link:hover,
.bx-white .bx-nav-3-lvl-link.bx-active,
.bx-white .bx-nav-3-lvl-link:hover,
.bx-white .bx-nav-1-lvl.bx-nav-parent.bx-hover > .bx-nav-1-lvl-link .bx-nav-1-lvl-link-text,
.bx-white .bx-nav-1-lvl.bx-nav-parent:hover > .bx-nav-1-lvl-link .bx-nav-1-lvl-link-text { color: #333; }
